המבחן כולל 3 שאלות 2 של כתיבת קוד ועוד שאלה שכוללת מספר שאלות תאורתיות.
שאלת קוד ראשונה מבקשת לכתוב פונקציה עבור הבעיה הבאה יש 3 סוגי שטרות 20 50 ו100 הפונקציה צריכה לקבל מספר ולהחזיר מערך שמכיל את כמות השטרות המינימלית עבור אותו מספר לדוגה עבור 250 יוחזר המערך (2,1,0) שני שטרות של 100 אחד של50 ו0 של 20.
שאלה השניה מבקשת לכתוב פונקציה שמקבלת שני מחרוזות ומחזירה את כמות הפעמים שצריך להזיז מההתחלה לסוף אות כך שהמחרוזות יהיו שוות לדוגמה עבור eecofee, coffee יוחזר 4 כדי ש coofee יהפוך ל eecoff צריך לעשות 4 הזזות.
שאלה שלישית כוללת שאלות תאורתיות כמו מה הם שלושת העקרונות של הורשה .
מה ההבדל בין CSS לSASS , תגדיר מה זה אינטרפייס..
שיחת טלפון ושליחת טופס שאלות למייל
Please answer in your own words
1. WhatisaService?HowtomakeaServicerunforaslongasrequired?
2. What is a Fragment? Why they areused?
3. WhatisaSingletonclassandwhenwouldyouuseitinAndroidApplication?
4. What is a ANR and how can the ANR beprevented?
5. What’s the cons of usingAsyncTasks?
6. What is a memory leak and how to avoidit
7. WhatisMVP,MVVM?Haveyouimplementedsucharchitecturesinyourproject?What are pros and cons of the givenarchitectures?
8. WhatFrameworks/LibrarieshaveyourecentlyusedfornetworkingandREST-APIcalls? How did you implement them in yourproject?
● First screen: Splashscreen
This screen will be presented for 2 seconds, for that time you should get a list of contacts from this JSON“http://api.androidhive.info/contacts/”, parse it and save in a local database.
After that the user will be redirected to the next screen.
● Second screen: ContactsList
Display the list of the contacts from the local database sorted by names alphabetically.
*The list item should contain name and phone number.
- Clickingononeofthecontactsshouldopenthephone’sdialerappwithcontact’s numberinside.
- Swipingoneofthecontactsshouldremovetheitemfromthelistandupdatethelocal database.
You don’t have to focus on the design, use design patterns, architectures and best practices.
לפני הראיון בכלל, נתנו לי לעשות מבחן - חלק ראשון שאלות בכתב, וחלק שני תרגיל על המחשב.
שאלות מתוך הראיון
SQL:
1.מה זה union ומה ההבדל בין union all לבין union ?
2.הסבר מהו join ואילו סוגים יש .
3. כתיבת שאילתא
C#:
1. למה משמש ()using
2. מה זה sealed class , האם אפשר להשתמש גם בפונקציה ?
3. מה ההבדל בין readonly לבין constant ?
תשובות
הוסף תשובה
|
לצפיה בתשובות
יוני 2017
Union משמש לאחד 2 שאליתות לסט תוצאות אחד.
Union all בדומה ל- union מאחדת 2 שאילתות לטבלת תוצאות אחת ושולפת את כל הרשומות, גם אם יש רשומות שוות.
פקודת JOIN מאפשרת לנו לבצע שליפות נתונים המגיעים מיותר מטבלה אחת.
Join מחזיר שורות אשר יש להן התאמה בערך אחד לפחות בשתי הטבלאות
Right Join מחזיר את כל השורות מהטבלה הימנית + כל השורות מהטבלה השמאלית אשר יש להן התאמה עם הטבלה הימנית.
Left Join מחזיר את כל השורות מהטבלה השמאלית + כל השורות מהטבלה הימנית אשר יש להן התאמה עם הטבלה השמאלית.
Full Join מחזיר שורות אם יש להן התאמה באחת הטבלאות.
פברואר 2018
sealed class זה class שלא ניתן לירוש אותו.
ניתן להשתמש ב sealed גם בפונקציה, זו פונקציה שדרסה פונקציה אחרת אך אותו לא ניתן לדרוס